#include "git-compat-util.h"
#include "config.h"
#include "fsmonitor-ipc.h"
#include "path.h"

/**
 * Get the path to the IPC pipe for the file system monitor daemon.
 *
 * @param r the repository to get the IPC path for
 * @return the path to the IPC pipe
 */
const char *fsmonitor_ipc__get_path(struct repository *r)
{
	static char *ret;
	if (!ret)
		ret = repo_git_path(r, "fsmonitor--daemon.ipc");
	return ret;
}
